﻿@model Coleotrack.Models.LogOnViewModel
@using Coleotrack.Resources           

@{
    Layout = "~/Views/Shared/_NonUserArea.cshtml";
    ViewBag.Title = @labels.Sign_In_To_Your_Account;
}

@section Head {

    <link href="@Url.Content("~/Content/Login.css")" rel="stylesheet" type="text/css" />

}


    <h1>@labels.Sign_In_To_Your_Account</h1>

    @using (Html.BeginForm())
        {

        @Html.ValidationSummary(false, labels.ErrorsOccured)

        <br />

        <div class="login-label">
            @Html.LabelFor(m => m.Username, labels.Username_or_E_Mail)
        </div>

        <div class="login-input">
            @Html.TextBoxFor(m => m.Username)
        </div>

        <br />

        <div class="login-label">
            @Html.LabelFor(m => m.Password, labels.Password)
        </div>

        <div class="login-input">
            @Html.PasswordFor(m => m.Password)  
        </div>

        <br />

        <div class="login-submit">
            <input type="submit" value="@labels.SignIn" />
        </div>
    
        }


@section Footer {

    <p>
        @Html.ActionLink(labels.Sign_up_now, "Register", "Account") | @Html.ActionLink(labels.Forgot_password, "ForgotPassword", "Account")
    </p>

}
